package com.xteam.youin_supplier.model;

import java.util.List;

/**
 * Created by Curry on 2015-12-28.
 */
public class TruckTeamList {

    /**
     * flag : true
     * data : [{"name":"河北运输第一小队","team_id":1}]
     * msg : 成功
     */
    private boolean flag;
    private List<DataEntity> data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * name : 河北运输第一小队
         * team_id : 1
         */
        private String name;
        private int team_id;

        public void setName(String name) {
            this.name = name;
        }

        public void setTeam_id(int team_id) {
            this.team_id = team_id;
        }

        public String getName() {
            return name;
        }

        public int getTeam_id() {
            return team_id;
        }
    }
}
